package com.richard.demo.controller;
import com.richard.demo.entity.StudentInfoEntity;
import java.util.List;

import com.richard.demo.service.StudentInfoService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;

@RestController
public class post {
    @PostMapping("/login_v")
   public List<StudentInfoEntity> enter(@RequestParam Map<String, String> param){
       String stuId = param.get("stuId");
       System.out.println(stuId);
       return StudentInfoService.studentInfoService.getStudentInfo(stuId);
    }
}